$.messager.model={
    ok:{text:"确定"},
    cancel:{text:"取消"}
};

jQuery.ajaxSettings.traditional = true

function myReload(url) {
    $.messager.alert("温馨提示", "操作成功,2秒后自动刷新");
    setTimeout(function () {
        if(url){
            location.href = url;
        }else{
            location.reload();
        }
    }, 1500);
}

